# 导入需要用到的package
import numpy as np 
import json
# 导入训练数据
datafile = './housing.data' 
data = np.fromfile(datafile, sep=' ') 
print(len(data)) #7084  
